/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.gc.cscott.run.executor;

import com.gc.cscott.verify.common.EqualsIgnoreLineEndings;
import java.io.File;
import java.io.IOException;
import org.apache.commons.io.FileUtils;

/**
 *
 * @author root
 */
public class CheckVerifier {
    public static void main(String[] args) throws IOException {
        String out1 = FileUtils.readFileToString(new File("D:/temp/cscott-pack/contest/tests/tests3/01/output1.txt"));
        String out = FileUtils.readFileToString(new File("D:/temp/cscott-pack/contest/results/haritonov_v/out/output-today-T03-t01.txt"));
        System.out.println(out1.trim().equals(out.trim()));
        EqualsIgnoreLineEndings check =new EqualsIgnoreLineEndings();
        System.out.println(check.verify("null", out, out1).getOutputStatus());
    }
}
